package com.it.travel.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.it.travel.dto.admin.AdminOrderDTO;
import com.it.travel.pojo.Order;
import com.it.travel.vo.admin.AdminOrderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper extends BaseMapper<Order> {
    List<AdminOrderDTO> selectAdminOrderPage(@Param("index") Integer index,
                                             @Param("size") Integer size, @Param("keywords") String keywords,
                                             @Param("role") Integer role, @Param("userId") Integer userId
    );
}
